package com.study.object;

import java.util.HashMap;
import java.util.Map;

public class PersonTest {

	public static void main(String[] args){
		Map<Person, Integer> map = new HashMap<Person, Integer>();
		map.put(new Person("test"), 20);
		map.put(new Person("test"), 20);
		System.out.println(map.size());
	}
	
}
